Skip to content

Update dotenv.rst #11200

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 6, 2019
Merged

Update dotenv.rst #11200

merged 1 commit into from
Apr 6, 2019

Conversation

browner12
Copy link
Contributor

it seems standard practice is to no longer use getenv() due to it not being thread safe.

symfony/symfony@21a909a

Updated the docs to remove reference to that function. Would we want to go so far as to add a note to not use getenv()?

@xabbuh xabbuh added this to the 4.2 milestone Mar 22, 2019
it seems standard practice is to no longer use `getenv()` due to it not being thread safe.

symfony/symfony@21a909a

Updated the docs to remove reference to that function.  Would we want to go so far as to add a note to **not** use `getenv()`?
@wouterj wouterj changed the base branch from 4.2 to 3.4 April 6, 2019 15:36
@wouterj
Copy link
Member

wouterj commented Apr 6, 2019

Thank you Andrew! Let's just not mention it, if we get many PRs that add getenv() to this list or questions about it, we can always add a short warning.

@wouterj wouterj added the ⭐️ EU-FOSSA Hackathon https://symfony.com/blog/the-symfony-and-api-platform-hackathon-is-coming label Apr 6, 2019
@wouterj wouterj merged commit 5be35bf into symfony:3.4 Apr 6, 2019
wouterj added a commit that referenced this pull request Apr 6, 2019
This PR was submitted for the 4.2 branch but it was merged into the 3.4 branch instead (closes #11200).

Discussion
----------

Update dotenv.rst

it seems standard practice is to no longer use `getenv()` due to it not being thread safe.

symfony/symfony@21a909a

Updated the docs to remove reference to that function.  Would we want to go so far as to add a note to **not** use `getenv()`?

Commits
-------

5be35bf Update dotenv.rst
@xabbuh xabbuh modified the milestones: 4.2, 3.4 Apr 6, 2019
@browner12 browner12 deleted the patch-1 branch April 7, 2019 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dotenv ⭐️ EU-FOSSA Hackathon https://symfony.com/blog/the-symfony-and-api-platform-hackathon-is-coming Status: Needs Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants